package edu.hubu.book.service;

import edu.hubu.book.domain.Book;
import edu.hubu.book.domain.ExtendBook;

import java.util.List;

/**
 * @author moonlan
 * date 2020/5/3 11:08
 */
@SuppressWarnings(value = "unused")
public interface IBookService {
    ExtendBook selectOne(int bid);

    List<ExtendBook> selectList();

    boolean update(int bid, Book newBook);

    boolean addBook(Book book);

    boolean delBook(int bid);


}
